package com.example.dicos.entity.dot;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 后台用户角色和权限关系表
 * </p>
 *
 * @author 开发者
 * @since 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "wx_role_permission_relation", autoResultMap = true)
@ApiModel(value = "WxRolePermissionRelation对象", description = "后台用户角色和权限关系表")
public class WxRolePermissionRelationDto implements Serializable {

    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "权限id 集合")
//    @TableField(typeHandler = JacksonTypeHandler.class)
    private String[] permissionId;

}
